package com.example.springboot.pojo;

public class User {
    private String roomNumber;
    private String phoneNumber;
    private String name;
    private String id;
    private String password;
    private String email;


    public User() {
    }

    public User(String roomNumber, String phoneNumber, String name, String id, String password, String email) {
        this.roomNumber = roomNumber;
        this.phoneNumber = phoneNumber;
        this.name = name;
        this.id = id;
        this.password = password;
        this.email = email;
    }

    /**
     * 获取
     * @return roomNumber
     */
    public String getRoomNumber() {
        return roomNumber;
    }

    /**
     * 设置
     * @param roomNumber
     */
    public void setRoomNumber(String roomNumber) {
        this.roomNumber = roomNumber;
    }

    /**
     * 获取
     * @return phoneNumber
     */
    public String getPhoneNumber() {
        return phoneNumber;
    }

    /**
     * 设置
     * @param phoneNumber
     */
    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return email
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置
     * @param email
     */
    public void setEmail(String email) {
        this.email = email;
    }

    public String toString() {
        return "User{roomNumber = " + roomNumber + ", phoneNumber = " + phoneNumber + ", name = " + name + ", id = " + id + ", password = " + password + ", email = " + email + "}";
    }
}
